extends Button

class_name WeaponButton

signal selected

var weapon : Weapon

func _ready():
	connect("pressed", self, "_on_self_pressed")

func _on_self_pressed():
	emit_signal("selected", weapon)
